<script language="javascript" type="text/javascript">
<!--
function chk_pic()
{
	str = document.getElementById("sitelogo").value.toLowerCase();
	lens = str.length;
	extname = str.substring(lens-4,lens);
	if(lens > 0 && extname != ".jpg" && extname != ".gif" && extname != ".jpeg")
	{
		alert("請選擇jpg、gif、jpeg格式的文件!");
		return false;
	}
	return true;
}
//-->
</script>
<LINK REL="stylesheet" HREF="../../templates/css/style.css" TYPE="text/css">
<table width="98%" border="0" class="table2">
  <tr>
    <td>管理中心 - 系統設置 - 基本設置</td>
  </tr>
</table>
<form name="frm_config" method="post" enctype="multipart/form-data" onsubmit="return chk_pic()">
<table class="table1" border="0" cellpadding="2" cellspacing="0" width="98%">
		<tr>
            <th colspan="2">群格租屋網站資料</th>
          </tr>
          <tr>
                  <td width="13%">網站名稱</td>
                  <td width="87%" align="left"><input name="site_name" type="text" id="site_email0" value="{site_name}" size="100" /></td>
          </tr>
          <tr>
                  <td width="13%">網站說明</td>
                  <td width="87%" align="left"><input name="site_desc" type="text" id="site_email2" value="{site_desc}" size="100" /></td>
          </tr>
         <!--<tr>
                  <td width="19%">版權所有</td>
                  <td width="81%" align="left"><input name="site_ban" type="text" id="site_email3" value="{site_ban}" size="100" /></td>
          </tr>-->
          <tr>
                  <td width="13%">網站關鍵詞</td>
                <td width="87%" align="left"><input name="site_keywords" type="text" id="site_email3" value="{site_keywords}" size="100" /><br />(以分號;分開)            </td>
          </tr>
          <!--<tr>
                  <td width="19%">网站圖标/企业LOGO：</td>
            <td width="81%"><input type="file" name="sitelogo" id="sitelogo" size="33" />                       
			  <br />(圖片格式：gif、jpg；圖片大小：127px * 43px)
			   </td>
          </tr>-->
          <tr>
            <td colspan="4"><div align="center">
			<input name="logo_img" value="{sitelogo}" type="hidden" />
                <input type="submit" name="Submit" value="保 存" class="bot" />
              </div></td>
          </tr>
        </table>
</form>
